<?php
/**
 * Created by PhpStorm.
 * User: THINK
 * Date: 2017/9/1
 * Time: 15:42
 */

namespace Admin\Controller;


use Think\Controller;

class ManagerController extends Controller
{
    public function index(){
        $user=D('user');
        $user = $user->relation(true)->select();
        $user_num=D('user')->count();
        //dump($user_num);exit();
        $this->assign('minfo',$user);
        $this->assign('user_num',$user_num);
        $this->display();
    }
}